<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
  <table>
      <!--姓名：<span th:text="${user.userName}"></span>-->

      <ul th:each="user:${user}">
           <li th:text="${user.userName}"></li>
           <li th:text="${user.age}"></li>
      </ul>
  </table>
</body>
</html>